package com.nongda.service;

import com.nongda.dto.ShangPinDto;
import com.nongda.dto.ShangPinPageDto;
import com.nongda.pojo.ShangPin;
import com.nongda.result.PageResult;

public interface ShangPinService {
    void insert(ShangPinDto shangPinDto);

    void update(ShangPin shangPin);

    void delete(Integer id);

    PageResult page(ShangPinPageDto shangPinPageDto);
}
